<%@ page language="java" contentType="text/html; charset=utf-8"    pageEncoding="utf-8"%>
<%@include file="header.jsp"%>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
.STYLE1 {
	color: #666666;
	font-weight: bold;
}
.STYLE5 {color: #666666}
.STYLE6 {
	color: #135294;
	font-weight: bold;
}
-->
</style>
<div align="center">产品列表</div>
 <table  width="95%"  border="0" cellpadding="3" cellspacing="2" bgcolor="#FFFFFF" align="center">
 	<tr>
 		<td nowrap background="images/bg_table.jpg" bgcolor="#ECEAE6">产品类型</td>
 		<td nowrap background="images/bg_table.jpg" bgcolor="#ECEAE6">语言</td>
 		<td nowrap background="images/bg_table.jpg" bgcolor="#ECEAE6">操作</td>
 	</tr>
 	<s:iterator value="productTypeList">
 	<tr bgcolor='#F1F3F5' onmouseover="this.style.backgroundColor='#FFDCB0'" onmouseout = "this.style.backgroundColor = ''" style='cursor:hand'>
 		<td><s:property value="typeName"/></td>
 		<td>
 			<s:if test='langId==0'>简体</s:if>
 			<s:if test='langId==1'>繁体</s:if>
 			<s:if test='langId==2'>英语</s:if>
 		</td>
 		<td>
 		<a href="beforUpdateProductType.action?productTypeId=<s:property value='id'/>">编辑</a>
 		<a href="deleteProductType.action?productTypeId=<s:property value='id'/>" onclick="javascript:if(confirm('确定删除该产品类型吗')) return true; else return false;">删除</a>
 		</td>
 	</tr>
 	</s:iterator>
 	<tr>
 		<td colspan="3"   nowrap  bgcolor='#E4EDF9'>
 	<a href="productTypeList.action?currentPage=<s:property value='prevPage'/>">上一页</a>
 	<a href="productTypeList.action?currentPage=<s:property value='nextPage'/>">下一页</a>
 	共<s:property value='totalPage'/>页
 	<a href="productType.action">新增</a></td><tr/>
 </table>
 